import Vue from 'vue'
import Vuex from 'vuex'
import home from './modules/home'
import search from './modules/search'
import user from './modules/user'
import goodsdetail from './modules/goodsdetail'
Vue.use(Vuex)

export default new Vuex.Store({

  modules: {
    home,
    search,
    user,
    detail: goodsdetail
  }
})
